package com.server.entity;

import java.io.Serializable;
import javax.persistence.*;
import javax.xml.bind.annotation.XmlRootElement;


/**
 * The persistent class for the AccountType database table.
 * 
 */
@Entity
@XmlRootElement
@Table(schema="mhp")
@NamedQuery(name="GetAllAccountType",query="select d from AccountType d")
public class AccountType implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="TypeId")
	private int typeId;

	private String typeName;
	
	public AccountType() {
	}

	
	public AccountType(int typeId, String typeName) {
		super();
		this.typeId = typeId;
		this.typeName = typeName;
	}


	public int getTypeId() {
		return this.typeId;
	}

	public void setTypeId(int typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

}